<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			a {
				text-decoration: none;
				line-height: 50px;

				display: block;
				/* 使宽高生效 */
				/* 一般不生效 */
				width: 200px;
				height: 50px;

				/* 生效 */
				padding: 10px;
				margin: 10px;
				/* 宽高不生效 */
			}

			a:link {
				color: yellow;
			}

			a:visited {
				color: red;
			}

			a:hover {
				color: green;
			}

			a:active {
				color: hotpink;
			}
		</style>
	</head>
	<body>
		<a href="https://baidu.com">百度一下</a>
	</body>
</html>
